//
//  Order.h
//  car
//
//  Created by chenxu on 15/3/21.
//  Copyright (c) 2015年 chenxu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PrivateMessages.h"
@interface Order : NSObject

@property (readwrite, nonatomic, strong) NSString *Id,*Orderid,*Time,*Finish;

@property (readwrite, nonatomic, strong) NSString *Uid,*Username;

@property (readwrite, nonatomic, strong) NSString *Cid,*Carid,*Carbaoxiandaoqi,*Carbuydate,*Carchejiahao,*Carfadongjiid,*Carpinpai,*Carprice,*Carxinghao;

@property (readwrite, nonatomic, strong) NSString *Bid,*Company;

@property (readwrite, nonatomic, strong) PrivateMessages *msgs;

@property (readwrite, nonatomic, strong) NSString *badge;

@property (readwrite, nonatomic, strong) NSArray *insurances;//报价列表，最后一个是总价

@property (readwrite, nonatomic, strong) NSString * Xianzhong;//险种列表


//聊天对方的信息
@property (readwrite, nonatomic, strong) NSString *channelid,*userid,*device;
- (NSDictionary* )toIdParams;
- (NSDictionary* )toOrderidParams;

- (NSDictionary* )toBaiduIdParams;
- (NSDictionary* )toRefreshParams;
- (void)user_setBaiduid;
- (void)company_setBaiduid;

- (NSInteger)getDevice;
- (NSArray*)getXianzhong;

@end
